<html>
    <head>
        <title>支付结果&nbsp;订单号：</title>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
        <script lang="javascript">
            var token = "%s"
            var status = "%s"
            document.title += token
            switch (status) {
                case "ALIPAY":
                case "WECHAT":
                    alert("支付成功。")
                    break
                case "CANCEL":
                    alert("订单已取消。")
                    break
                case "TIMEOUT":
                    alert("订单已超时。")
                    break
                default:
                    alert("订单不存在！")
                    break
            }
        </script>
    </head>
</html>